#!/usr/bin/sh

set -e

mysql -h ${JIANMU_HOST} -P ${JIANMU_PORT} -u${JIANMU_USERNAME} -p${JIANMU_PASSWORD} ${JIANMU_DATABASE} < ${JIANMU_SQL_PATH}
